package com.erp.erp_entitys.Email;

public class email_custor {
    /*检查所有的联系人对应到的联系人箱，更换规则
     * userClass  用户的类型  0 是用户 1是客户
     * type       操作类型（0新增，1修改，2删除）
     * oldemail   邮箱地址旧值
     * newEmail   邮箱地址新值
     * code       用户或客户编码
     * */
    private int id;
    private String name;
    private String code;
    private String oldEmail;
    private String newEmail;
    private int handle;
    private int codeClass;
    private int statue;

    public email_custor(String name,String code, String oldEmail, String newEmail, int handle, int codeClass, int statue) {
        this.name = name;
        this.code = code;
        this.oldEmail = oldEmail;
        this.newEmail = newEmail;
        this.handle = handle;
        this.codeClass = codeClass;
        this.statue = statue;
    }

    public email_custor() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getOldEmail() {
        return oldEmail;
    }

    public void setOldEmail(String oldEmail) {
        this.oldEmail = oldEmail;
    }

    public String getNewEmail() {
        return newEmail;
    }

    public void setNewEmail(String newEmail) {
        this.newEmail = newEmail;
    }

    public int getHandle() {
        return handle;
    }

    public void setHandle(int handle) {
        this.handle = handle;
    }

    public int getCodeClass() {
        return codeClass;
    }

    public void setCodeClass(int codeClass) {
        this.codeClass = codeClass;
    }

    public int getStatue() {
        return statue;
    }

    public void setStatue(int statue) {
        this.statue = statue;
    }
}
